package beans;

import entities.Utente;
import controllers.UtenteFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.inject.Named;
import javax.inject.Inject;
import javax.faces.view.ViewScoped;

@Named(value = "utenteController")
@ViewScoped
public class UtenteController extends AbstractController<Utente> implements Serializable {

    @Inject
    private UtenteFacade ejbFacade;

    public UtenteController() {
        super(Utente.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }

}
